﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.Sim.Admin.Admin
{
    /// <summary>
    /// 员工修改自己的信息模型
    /// </summary>
    public class AdminCurrentPutDto
    {
        /// <summary>
        /// 密码
        /// </summary>
        [Display(Name = "密码")]
        public string Password { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        [Display(Name = "姓名")]
        [Required(ErrorMessage = "{0} 不能为空")]
        [StringLength(16, ErrorMessage = "{0} 长度为 {2} 到 {1} 个字符", MinimumLength = 2)]
        public string FullName { get; set; }
        /// <summary>
        /// 员工头像
        /// </summary>
        [Display(Name = "员工头像")]
        public string Avatar { get; set; }


    }
}
